package com.manager.common.utils;

import com.manager.model.System_User;

@SuppressWarnings("all")
public class RequestHolder {

	private static ThreadLocal<System_User> local = new ThreadLocal<>();
	
	public static System_User getCurrentUser(){
		return local.get();
	}
	
	public static void set(System_User user){
		local.set(user);
	}
	
	public static void remove(){
		local.remove();
	}

}
